package com.csnj.core.dao;

import com.csnj.core.entity.SysElement;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

public interface SysElementMapper extends Mapper<SysElement> {
    List<SysElement> selectAuthorityElementByUserId(Integer userId);

    List<SysElement> selectAuthorityMenuElementByUserId(Integer userId, Integer menuId);

    List<SysElement> selectAllElementPermissions();
}